package com.school.cloud.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.school.cloud.entities.CommonResult;

/**
 * 功能描述：
 *
 * @Package: com.school.cloud.handler
 * @author: Marvin-zl
 * @date: 2022/5/15 18:54
 */
public class CustomerBlockHandler {
    public static CommonResult CustomerBlockHandler(BlockException blockException){
        return new CommonResult(444, blockException.getClass().getCanonicalName() + "\t 111");
    }
    public static CommonResult CustomerBlockHandler2(BlockException blockException){
        return new CommonResult(444, blockException.getClass().getCanonicalName() + "\t 222");
    }
}
